package com.sluggard.security.manage.model.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuInfoRes {

    @Schema(description = "按钮权限")
    private Set<String> buttons = new HashSet<>();

    @Schema(description = "菜单列表")
    private List<MenuRes> menus =new ArrayList<>();

    @Schema(description = "路由列表")
    private List<RouteRes> routes = new ArrayList<>();
}
